github.com/jackc/pgx/v5.Conn.statementCache (field)
18 uses
github.com/jackc/pgx/v5 (current package)
batch.go#L497: if sc := conn.statementCache; sc != nil {
conn.go#L72: statementCache stmtcache.Cache
conn.go#L289: c.statementCache = stmtcache.NewLRUCache(c.config.StatementCacheCapacity)
conn.go#L400: c.statementCache = stmtcache.NewLRUCache(c.config.StatementCacheCapacity)
conn.go#L522: if sc := c.statementCache; sc != nil {
conn.go#L538: if c.statementCache == nil {
conn.go#L541: sd := c.statementCache.Get(sql)
conn.go#L547: c.statementCache.Put(sd)
conn.go#L899: if c.statementCache == nil {
conn.go#L902: sd = c.statementCache.Get(sql)
conn.go#L908: c.statementCache.Put(sd)
conn.go#L1074: if c.statementCache == nil {
conn.go#L1083: sd := c.statementCache.Get(bi.SQL)
conn.go#L1102: return c.sendBatchExtendedWithDescription(ctx, b, distinctNewQueries, c.statementCache)
conn.go#L1441: if c.statementCache != nil {
conn.go#L1442: invalidatedStatements = c.statementCache.GetInvalidated()
conn.go#L1466: c.statementCache.RemoveInvalidated()
rows.go#L174: if sc := rows.conn.statementCache; sc != nil {
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)